//
//  User.swift
//  Weibo
//
//  Created by 唐润欣 on 16/6/19.
//  Copyright © 2016年 唐润欣. All rights reserved.
//

import UIKit

class User: NSObject {
    
    //userid
    var id: Int64 = 0
    
    //用户昵称
    var screen_name: String?
    
    //用户头像url
    var profile_image_url: String?
    
    // 1. 会员等级 0-6
    var mbrank: Int = 0
    
    // 2.认证类型，-1：没有认证，0，认证用户，2,3,5: 企业认证，220: 达人
    var verified_type = -1
    
    override var description: String {
        
        let keys = ["id", "screen_name", "profile_image_url", "mbrank", "verified_type"]
        
        return dictionaryWithValuesForKeys(keys).description
    }
}
